* {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: #fff;

    &:hover {
        // background-color: #fff;
        // opacity: 1;

        border: #fff 1px solid;
    }
}

//样式
.logo {
    font-size: xx-large;
    color: rgb(36, 37, 38);
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 50px 0 50px;
}

nav {
    max-width: 100%;

    ul {
        height: 40px;
        margin-top: 50px;
        list-style-type: none;
        background-color: rgb(32, 31, 31);
        display: flex;
        justify-content: space-between;

        li {
            height: 22px;
            display: block;
            margin: auto 20px;
        }
    }
}




.grid {
    max-width: 1200px;
    margin: 0 auto;
    height: 900px;

    article {
        color: black;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 50px 0 50px;

        h1 {
            margin-top: 30px;
            color: rgb(21, 21, 22);
            font-size: 30px;
            font-weight: bold;
        }

        img {
            max-width: 200px;
            float: left;
            margin: 12px 5px 0 0;
        }

        p {

            padding: 10px 0;
            font-size: large;
            font-family: 'Times New Roman', Times, serif;

        }

    }

    aside {
        margin: 0 auto;
        max-width: 30%;
        min-width: 50px;
        padding: 0 50px 0 50px;
        h2 {
            color: rgb(21, 21, 22);
            font-size: 30px;
            font-weight: bold;
            margin-top: 30px;
        }

        .photos {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-column-gap: 5px;
            grid-row-gap: 5px;
            // max-width: 300px;


            li {
                list-style: none;
                flex: 1;

                img {
                    margin: 12px 5px 0 0;
                    width: 100%;
                    height: 100%;
                    background-position: center;
                    background-size: 100% auto;
                    object-fit: cover;
                }
            }
        }
    }
}